package com.ruoyi.personnel.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import java.util.Date;

/**
 * 预约信息对象 reserve_information
 *
 * @author hyj
 * @date 2020-03-09
 */
public class ReserveInformation extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 编号 */
    private Long id;

    /** 用户id */
    @Excel(name = "用户id")
    private String openId;

    /** 姓名 */
    @Excel(name = "姓名")
    private String name;

    /** 状态 */
    @Excel(name = "状态")
    private Integer status;

    /** 手机号码 */
    @Excel(name = "手机号码")
    private String phoneNumber;

    /** 来访事由 */
    @Excel(name = "来访事由")
    private Integer visitReason;

    /** 来访时间 */
    @Excel(name = "来访时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date visitTime;

    /** 来访公司 */
    @Excel(name = "来访公司")
    private String visitCompany;

    /** 随身物品 */
    @Excel(name = "随身物品")
    private String belongings;

    /** 访问人数 */
    @Excel(name = "访问人数")
    private Integer visitNumber;

    /** 随访人姓名 */
    @Excel(name = "随访人姓名")
    private String visitName;

    /** 拜访地址 */
    @Excel(name = "拜访地址")
    private Integer accessAddress;

    /** 受访人电话 */
    @Excel(name = "受访人电话")
    private String accessPhone;

    /** 修改时间 */
    @Excel(name = "修改时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date modifyTime;

    /** 修改人员 */
    @Excel(name = "修改人员")
    private String modifier;

    public void setId(Long id)
    {
        this.id = id;
    }
    public Long getId()
    {
        return id;
    }
    public void setOpenId(String openId)
    {
        this.openId = openId;
    }
    public String getOpenId()
    {
        return openId;
    }
    public void setName(String name)
    {
        this.name = name;
    }
    public String getName()
    {
        return name;
    }
    public void setStatus(Integer status)
    {
        this.status = status;
    }
    public Integer getStatus()
    {
        return status;
    }
    public void setPhoneNumber(String phoneNumber)
    {
        this.phoneNumber = phoneNumber;
    }
    public String getPhoneNumber()
    {
        return phoneNumber;
    }
    public void setVisitReason(Integer visitReason)
    {
        this.visitReason = visitReason;
    }
    public Integer getVisitReason()
    {
        return visitReason;
    }
    public void setVisitTime(Date visitTime)
    {
        this.visitTime = visitTime;
    }
    public Date getVisitTime()
    {
        return visitTime;
    }
    public void setVisitCompany(String visitCompany)
    {
        this.visitCompany = visitCompany;
    }
    public String getVisitCompany()
    {
        return visitCompany;
    }
    public void setBelongings(String belongings)
    {
        this.belongings = belongings;
    }
    public String getBelongings()
    {
        return belongings;
    }
    public void setVisitNumber(Integer visitNumber)
    {
        this.visitNumber = visitNumber;
    }
    public Integer getVisitNumber()
    {
        return visitNumber;
    }
    public void setVisitName(String visitName)
    {
        this.visitName = visitName;
    }
    public String getVisitName()
    {
        return visitName;
    }
    public void setAccessAddress(Integer accessAddress)
    {
        this.accessAddress = accessAddress;
    }
    public Integer getAccessAddress()
    {
        return accessAddress;
    }
    public void setAccessPhone(String accessPhone)
    {
        this.accessPhone = accessPhone;
    }
    public String getAccessPhone()
    {
        return accessPhone;
    }
    public void setModifyTime(Date modifyTime)
    {
        this.modifyTime = modifyTime;
    }
    public Date getModifyTime()
    {
        return modifyTime;
    }
    public void setModifier(String modifier)
    {
        this.modifier = modifier;
    }
    public String getModifier()
    {
        return modifier;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("openId", getOpenId())
                .append("name", getName())
                .append("status", getStatus())
                .append("phoneNumber", getPhoneNumber())
                .append("visitReason", getVisitReason())
                .append("visitTime", getVisitTime())
                .append("visitCompany", getVisitCompany())
                .append("belongings", getBelongings())
                .append("visitNumber", getVisitNumber())
                .append("visitName", getVisitName())
                .append("accessAddress", getAccessAddress())
                .append("accessPhone", getAccessPhone())
                .append("createTime", getCreateTime())
                .append("modifyTime", getModifyTime())
                .append("modifier", getModifier())
                .toString();
    }
}
